
const Mock = require('mockjs')

module.exports = function (req) {
  const result = Mock.mock({
    "list": [{
        code: "@id()", // 随机id
        name:'全部',
        num:32,
      },{
        code: "@id()", // 随机id
        name:'已读',
        num:24,
      },{
        code: "@id()", // 随机id
        name:'未读',
        num:8,
      }]
})

  return {
    "result": result,
    "error": null,
    "success": true,
    "code": "10000",
    "datetime": Date.now(),
  }
};
